

/*
 * Copyright (c) 2017. Rushang Co.Ltd All Rights Reserved.
 * 项目名称:rsdp-base
 * 文件名称:CellKey.java
 * 功能简介:<br/>
 *
 * @create 2017-09-02
 * @author zhangjun
 */

package com.rshang.rsdp.util.excel;
 public class CellKey {
     private String head;
     private String key;
     private String type;
     private int len;
     private boolean required;

     public CellKey(String head, String key, String type) {
         this.head = head;
         this.key = key;
         this.type = type;
         this.len=0;
         this.required = true;
     }

     public CellKey(String head, String type, boolean required) {
         this.head = head;
         this.key = "";
         this.type = type;
         this.len=0;
         this.required = required;
     }

     public CellKey(String head, String type, int len, boolean required) {
         this.head = head;
         this.key="";
         this.type = type;
         this.len = len;
         this.required = required;
     }

     public CellKey(String head, String key, String type, boolean required) {
         this.head = head;
         this.key = key;
         this.type = type;
         this.required = required;
         this.len=0;
     }

     public String getHead() {
         return head;
     }

     public void setHead(String head) {
         this.head = head;
     }

     public String getKey() {
         return key;
     }

     public void setKey(String key) {
         this.key = key;
     }

     public String getType() {
         return type;
     }

     public void setType(String type) {
         this.type = type;
     }

     public boolean isRequired() {
         return required;
     }

     public void setRequired(boolean required) {
         this.required = required;
     }

     public int getLen() {
         return len;
     }

     public void setLen(int len) {
         this.len = len;
     }
 }
